package com.maibow.entity.admin;

import java.io.Serializable;
import java.util.Date;


/**
 * The persistent class for the t_oper_privilege database table.
 * 
 */
public class OperPrivilege implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer operprivilegeid;
	
	private String operprivilegetreeid;

	private Date createtime;

	private Integer creatorid;

	private String creatorname;

	private String opername;

	private String opertype;

	private String operurl;

	//bi-directional many-to-one association to TModule
	private Integer moduleid;

	private boolean hasoperprivilege = false;
	
	public OperPrivilege() {
	}

    /**
     * operprivilegeid
     *
     * @return  the operprivilegeid
     * @since   1.0.0
     */
    
    public Integer getOperprivilegeid() {
        return operprivilegeid;
    }

    /**
     * @param operprivilegeid the operprivilegeid to set
     */
    public void setOperprivilegeid(Integer operprivilegeid) {
        this.operprivilegeid = operprivilegeid;
    }

    /**
     * operprivilegetreeid
     *
     * @return  the operprivilegetreeid
     * @since   1.0.0
     */
    
    public String getOperprivilegetreeid() {
        return operprivilegetreeid;
    }

    /**
     * @param operprivilegetreeid the operprivilegetreeid to set
     */
    public void setOperprivilegetreeid(String operprivilegetreeid) {
        this.operprivilegetreeid = operprivilegetreeid;
    }

    /**
     * createtime
     *
     * @return  the createtime
     * @since   1.0.0
     */
    
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * @param createtime the createtime to set
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /**
     * creatorid
     *
     * @return  the creatorid
     * @since   1.0.0
     */
    
    public Integer getCreatorid() {
        return creatorid;
    }

    /**
     * @param creatorid the creatorid to set
     */
    public void setCreatorid(Integer creatorid) {
        this.creatorid = creatorid;
    }

    /**
     * creatorname
     *
     * @return  the creatorname
     * @since   1.0.0
     */
    
    public String getCreatorname() {
        return creatorname;
    }

    /**
     * @param creatorname the creatorname to set
     */
    public void setCreatorname(String creatorname) {
        this.creatorname = creatorname;
    }

    /**
     * opername
     *
     * @return  the opername
     * @since   1.0.0
     */
    
    public String getOpername() {
        return opername;
    }

    /**
     * @param opername the opername to set
     */
    public void setOpername(String opername) {
        this.opername = opername;
    }

    /**
     * opertype
     *
     * @return  the opertype
     * @since   1.0.0
     */
    
    public String getOpertype() {
        return opertype;
    }

    /**
     * @param opertype the opertype to set
     */
    public void setOpertype(String opertype) {
        this.opertype = opertype;
    }

    /**
     * operurl
     *
     * @return  the operurl
     * @since   1.0.0
     */
    
    public String getOperurl() {
        return operurl;
    }

    /**
     * @param operurl the operurl to set
     */
    public void setOperurl(String operurl) {
        this.operurl = operurl;
    }

    /**
     * moduleid
     *
     * @return  the moduleid
     * @since   1.0.0
     */
    
    public Integer getModuleid() {
        return moduleid;
    }

    /**
     * @param moduleid the moduleid to set
     */
    public void setModuleid(Integer moduleid) {
        this.moduleid = moduleid;
    }

    /**
     * hasoperprivilege
     *
     * @return  the hasoperprivilege
     * @since   1.0.0
     */
    
    public boolean isHasoperprivilege() {
        return hasoperprivilege;
    }

    /**
     * @param hasoperprivilege the hasoperprivilege to set
     */
    public void setHasoperprivilege(boolean hasoperprivilege) {
        this.hasoperprivilege = hasoperprivilege;
    }

}